﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/MIOS.master" AutoEventWireup="true" CodeFile="UserInfo.aspx.cs" Inherits="Userinfo" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table  id="tabAddMenber"  runat ="server">
		<tr>
             <td align="left" height="25" colspan="2">修改用户信息</td>
        </tr>
		<tr>
			<td align="right" style="width: 149px; font-size:15px;">登录名：</td>
			<td style="height: 24px" align="left">
			    <asp:Label ID="Label1" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtName" runat="server"  MaxLength="50" Width="128px" 
                    Enabled="False" EnableViewState="False" ReadOnly="True" ></asp:textbox>
            </td>
		</tr>
		<tr>
			<td align="right" style="height: 24px; width: 149px;font-size :15px">密码：</td>
			<td style="height: 24px" align="left">
			    <asp:Label ID="Label2" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtPassword" runat="server"  MaxLength="50" TextMode="Password" Width="128px"></asp:textbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空！" Font-Size="11px" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ErrorMessage="密码不能超过6位！" Font-Size="11px" ControlToValidate="txtPassword" 
                    ValidationExpression="\w{1,6}"></asp:RegularExpressionValidator>
            </td>
        </tr>
		<tr>
			<td align="right" style="height: 24px; width: 149px;font-size :15px">确认密码：</td>
			<td style="height: 24px" align="left">
			    <asp:Label ID="Label7" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtconfirmPassword" runat="server"  MaxLength="50" TextMode="Password" Width="128px"></asp:textbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="确认密码不能为空！" Font-Size="11px" ControlToValidate="txtconfirmPassword"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次密码输入不一致！" Font-Size="11px" ControlToCompare="txtPassword" ControlToValidate="txtconfirmPassword"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
			<td align="right" style="width: 149px;font-size :15px">真实姓名：</td>
			<td align="left">
			    <asp:Label ID="Label5" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtTrueName" runat="server"  MaxLength="50" Width="128px"></asp:textbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="真实姓名不能为空！" Font-Size="11px" ControlToValidate="txtTrueName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
			<td align="right" style="width: 149px;font-size :15px">联系电话：</td>
			<td align =left > 
			    <asp:Label ID="Label6" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtPhone" runat="server"  MaxLength="50" Width="128px"></asp:textbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtPhone" ErrorMessage="联系电话不能为空！" Font-Size="11px"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="您输入的电话格式有误！" Font-Size="11px" ControlToValidate="txtPhone" 
                    ValidationExpression="1\d{10}|(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right" style="height: 24px; width: 149px;">E-mail：</td>
            <td style="height: 24px" align="left">
                <asp:Label ID="Label8" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
                <asp:textbox id="txtEmail" runat="server"  MaxLength="80" Width="128px"></asp:textbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtEmail" ErrorMessage="邮箱地址不能为空！" Font-Size="11px"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="您输入的邮箱地址有误！" Font-Size="11px" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
			<td valign="top" align="right" style="width: 149px;font-size :15px">详细住址：</td>
			<td valign ="top" align="left"  >
			    <asp:Label ID="Label9" runat="server" Font-Size="12px" ForeColor="Red" Text="*"/>
			    <asp:textbox id="txtAddress" runat="server"  MaxLength="100" Height="115px" Width="206px" TextMode="MultiLine"></asp:textbox><span style="color: #ff0000">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="住址不能为空！" Font-Size="12px" ControlToValidate="txtAddress"></asp:RequiredFieldValidator></span></td></tr><tr>
			<td valign="top" align="right" style="width: 149px;font-size :15px">&nbsp;</td>
			<td valign ="middle"  align="left"  >
                &nbsp;
            </td>
        </tr>
        <tr>
			<td valign="top" align="right" style="width: 149px;font-size :15px">&nbsp;</td>
			<td valign ="middle" align="left"  >
		        &nbsp;
 		        <asp:button ID="btnSave" runat="server"  Text="保存修改" Width=58px onclick="btnSave_Click"/>
                &nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server"  CausesValidation="False" Text="取消" Width="58px" onclick="btnCancel_Click"/>
            </td>
        </tr>
	</table>
</asp:Content>

